<?php // no direct access
defined('_JEXEC') or die('Restricted access'); ?>
<div class="bannergroup<?php echo $params->get( 'moduleclass_sfx' ) ?>">

<?php if ($headerText) : ?>
	<?php echo $headerText ?>
<?php endif;

foreach($list as $item) :

	echo modBannersHelper::renderBanner($params, $item);

endforeach; ?>

<?php if ($footerText) : ?>
		 <?php echo $footerText ?>
<?php endif; ?>
</div>